package com.zhuangjie.rider.constant;

import java.time.Duration;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;

public class RiderDeliveryIncomeEarliestArrivalTimeConstant {
    /**
     * 时间单位
     */
    public static final ChronoUnit TIME_UNIT = ChronoUnit.HOURS;
    /**
     * 时间单位对应的时长
     */
    public static final long TIME_UNIT_DURATION = 24;

    /**
     * 获取当前时间后的
     */
    public static LocalDateTime get() {
        return LocalDateTime.now().plus(Duration.of(TIME_UNIT_DURATION, TIME_UNIT));
    }
}
